﻿using System.Collections.Generic;
using Orchard;
using Orchard.MediaLibrary.Models;
using PlanetTelex.Coverflow.Models;

namespace PlanetTelex.Coverflow.Services
{
    public interface ICoverflowService : IDependency
    {
        IEnumerable<string> AllowedFileFormats { get; } 

        IEnumerable<IMediaFolder> ListAllMediaFolders();

        IEnumerable<IMediaFolder> ListSubFolders(string basePath);

        IEnumerable<MediaFile> ListMediaFolderContents(string basePath);

        List<Cover> ListAllCovers(string basePath, bool categoriesEnabled);

        string GetUrl(string basePath, string filename);
    }
}
